]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
objectManager: Remove unused function
authorAlessandro Bono <alessandro.bono369@gmail.com>
Fri, 20 Feb 2026 21:42:03 +0000 (22:42 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 23 Feb 2026 20:25:10 +0000 (20:25 +0000)
Introduced with 4b450bab1164b9b1225702238e539201974a68b6, this function
has never been used. Furthermore it is wrong because objectPaths is not
indexed. Just drop it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4084>

js/misc/objectManager.js

index a244f9ea4bc9375189bcf1633b5ed6ca96d3d5f0..0e003029dcca0a0604fc1681178320019b7ad727 100644 (file)
@@ -238,22 +238,4 @@ export class ObjectManager extends Signals.EventEmitter {
 
         return proxyList;
     }
-
-    getAllProxies() {
-        const proxies = [];
-
-        const objectPaths = Object.keys(this._objects);
-        for (let i = 0; i < objectPaths.length; i++) {
-            const object = this._objects[objectPaths];
-
-            const interfaceNames = Object.keys(object);
-            for (let j = 0; j < interfaceNames.length; j++) {
-                const interfaceName = interfaceNames[j];
-                if (object[interfaceName])
-                    proxies.push(object(interfaceName));
-            }
-        }
-
-        return proxies;
-    }
 }